package com.xiaomengkuan.test.entity.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-09 8:28 下午, File Encoding: utf8 --
 */
@Entity
@ToString
@Data
@JsonIgnoreProperties(value = { "hibernateLazyInitializer"})
public class User {
    @Id
    private int id;
    private String username;
    private String password;
    private String nickname;
    private String avatar;
    private String summary;
    private String email;
    private String phone;
    private String img;
    private int gender;
}
